<template>
  <div class="mynav">
    <van-nav-bar
      :title="title"
      @click-left="click"
      left-arrow
      style="background-color: #21b97a"
    >
    </van-nav-bar>
  </div>
</template>

<script>
export default {
  props: {
    title: String,
  },
  methods: {
    click() {
      this.$emit("click");
    },
  },
};
</script>

<style></style>
